package demo.vo.common;

public enum BusinessCode implements ErrorMsg {
    OK("ok", "成功"),

    NO_DATA("no_data", "案件不存在"),

    CLAIMED("claimed", "案件已审批"),

    NOT_LOGIN("not_login", "用户未登录");

    private String code;
    private String message;

    private BusinessCode(String errCode, String message) {
        this.code = errCode;
        this.message = message;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getMessage() {
        return message;
    }

}
